##
##  $Id: Makefile.am,v 1.31 2008/09/05 14:41:49 joel Exp $
##

MANAGERS = all

rtems_tests_PROGRAMS = base_mp-node2.exe
base_mp_node2_exe_SOURCES = ../init.c ../apptask.c ../system.h

dist_rtems_tests_DATA = base_mp-node2.scn
dist_rtems_tests_DATA += base_mp-node2.doc

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

base_mp_node2_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -DNODE_NUMBER=2 -I.

LINK_OBJS = $(base_mp_node2_exe_OBJECTS) $(base_mp_node2_exe_LDADD)
LINK_LIBS = $(base_mp_node2_exe_LDLIBS)

base_mp-node2.exe$(EXEEXT): $(base_mp_node2_exe_OBJECTS) $(base_mp_node2_exe_DEPENDENCIES)
	@rm -f base_mp-node2.exe$(EXEEXT)
	$(make-exe)

include $(top_srcdir)/../automake/local.am
